package com.bookhouse.service.impl;

import com.bookhouse.dao.BaseDao;
import com.bookhouse.dao.ManagerDao;
import com.bookhouse.entity.Manager;
import com.bookhouse.service.ManagerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by CiusCheung on 16/4/21.
 */
@Service("managerService")
public class ManagerServiceImpl extends BaseServiceImpl<Manager> implements ManagerService{
    @Resource(name = "managerDao")
    private ManagerDao managerDao;
    @Override
    protected BaseDao<Manager> getDao() {
        return this.managerDao;
    }
}
